﻿using System;
using System.Collections.Generic;
using System.Text;
using EmbeddedSharp.Core.Logging;

namespace EmbeddedSharp.Core.Logging {
    public class DefaultLogger : ILogger {

        #region ILogger Members

        public void WriteLog(string message, params string[] args) {
            Console.WriteLine(message, args);
        }

        public void WriteLog(Exception ex) {
            Console.WriteLine(string.Format("{0}:{1}", ex.Message, ex.Source));
        }

        #endregion
    }
}
